package com.visiontech.volunteer_center.service;

import com.visiontech.volunteer_center.pojo.Content_LFRX;
import com.visiontech.volunteer_center.pojo.Content_WMSX;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ContentService {
    public List<Content_WMSX> showContent_wmsx();

    public List<Content_WMSX> findByTitle_wmsx(String title);

    public Integer deleteById_wmsx(Integer wmsx_id);

    public Integer updateById_wmsx(Integer wmsx_id, String title, String link, String photo);

    public Integer insertWMSX(String title, String link, String photo);

//  ===================================================================================================================

    public Integer insertLFRX(String name, String sex, String phone, String email, String address ,String text);

    public List<Content_LFRX> showLFRXContent();

    public Content_LFRX findById(Integer lfrx_id);

    public List<Content_LFRX> findByName(String lfrx_name);

    public List<Content_LFRX> findLFRX(Integer lfrx_id, String lfrx_name);

    public Integer deleteById_lfrx(Integer lfrx_id);
}
